#include <xen/domain_page.h>
#include <xen/hypercall.h>
#include <xen/perfc.h>
-#include <xen/xenoprof.h>
#include <asm/current.h>
#include <asm/io.h>
#include <asm/regs.h>
#include <asm/hvm/vpt.h>
#include <public/hvm/save.h>
#include <asm/hvm/trace.h>
+#include <asm/xenoprof.h>
enum handler_return { HNDL_done, HNDL_unhandled, HNDL_exception_raised };
{
if ( IS_ACTIVE(msrs_content[i].control) )
{
- msrs_content[i].counter = (low | (unsigned long)high << 32);
+ msrs_content[i].counter = (low | (u64)high << 32);
if ( IS_ENABLE(msrs_content[i].control) )
ovf = 2;
}
"xenoprof/x86 with autotranslated mode enabled" \
"isn't supported yet\n"); \
} while (0)
+int passive_domain_do_rdmsr(struct cpu_user_regs *regs);
+int passive_domain_do_wrmsr(struct cpu_user_regs *regs);
+void passive_domain_destroy(struct vcpu *v);
#endif /* __ASM_X86_XENOPROF_H__ */
int acquire_pmu_ownship(int pmu_ownership);
void release_pmu_ownship(int pmu_ownership);
-int passive_domain_do_rdmsr(struct cpu_user_regs *regs);
-int passive_domain_do_wrmsr(struct cpu_user_regs *regs);
-void passive_domain_destroy(struct vcpu *v);
#endif /* __XEN__XENOPROF_H__ */